<template>
    <div class="searchComponent">
        <div class="history">
            <div class="title">
                <div class="iconfont search">&#xe678;</div>
                <div class="">历史搜索</div>
                <div class="iconfont delete">&#xe622;</div>
            </div>
            <div class="content">
                <span class="label" v-for="(v, index) in 6" :key="index">拖鞋</span>
            </div>
        </div>
        <div class="popular">
            <div class="title">
                <div class="iconfont search">&#xe612;</div>
                <div class="">热门搜索</div>
            </div>
            <div class="content">
                <span class="label" v-for="(v, index) in 6" :key="index">拖鞋</span>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    
}
</script>

<style lang="less" scoped>
.searchComponent *{
    color: @font;
}
    .searchComponent{
        position: absolute;
        width: 100%;
        top: @h;
        bottom: 0px;
        .history{
            min-height: 194px;
            border-bottom: 1PX solid @99;
            padding: 44px 44px 20px;
            box-sizing: border-box;
        }
        .title{
            margin-bottom: 20px;
            div{
                display: inline-block;
                font-size: 40px;
                line-height: 50px;
            }
            .search{
                margin-right: 30px;
            }
            .delete{
                float: right;
            }
        }
        .content{
            padding-left: 70px;
            
        }
        .label{
            display: inline-block;
            font-size: 30px;
            padding:6px 15px;
            border:1px solid @99;
            border-radius: 5px;
            margin:5px 10px 5px 0px;
        }
        .popular{
            min-height: 194px;
            padding: 30px 44px 20px;
            box-sizing: border-box;
        }
    }
</style>
